<?php

namespace app\admin\model\order;

use think\Model;


class Courier extends Model
{

    public function manystore()
    {
        return $this->belongsTo('manystore', 'mid', 'id', [], 'LEFT')->setEagerlyType(0);
    }
    public function courier()
    {  
        return $this->belongsTo('courier', 'courier_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }

    // public function schooladdress()
    // {                    ->alias('a')
                    // ->join('manystore b','a.mid = b.id')
    // ->with(['manystore'])
    //     return $this->belongsTo('Schooladdress', 'schoole_address_id', 'id', [], 'LEFT')->setEagerlyType(0);
    // }


}
